@extends('project.common.framework') 
@section('content')
<div class="container-fluid">
    <h2>更新历史</h2>
    <p>最近更新时间：{{ $project['update_time'] }}</p>

    @if(!empty($project['historys']))
    <div class="row">
        <table class="table col-lg-12 col-md-12 col-xs-12">
            <thead>
                <tr>
                    <th style="width:10%">发布时间</th>
                    <th style="width:35%">更新</th>
                    <th style="width:55%">说明</th>
                </tr>
            </thead>
            <tbody>
                @foreach ($project['historys'] as $history)
                <tr>
                    <td>{{ $history['date'] }}</td>
                    <td>{{ $history['intro'] }}</td>
                    <td>{!! $history['description'] !!}</td>
                </tr>  
                @endforeach
            </tbody>
        </table>
    </div>
    @endif
</div>
@endsection